#include "MouseEventArgs.h"

namespace input {

	MouseEventArgs::MouseEventArgs( const Mouse& mouse, const Keyboard& keyboard ) :
		m_mouse( mouse ),
		m_keyboard( keyboard )
	{}

	MouseEventArgs::MouseEventArgs( const MouseEventArgs& other ) :
		m_mouse( other.m_mouse ),
		m_keyboard( other.m_keyboard )
	{}

	MouseEventArgs::~MouseEventArgs() {}

	MouseEventArgs& MouseEventArgs::operator=( const MouseEventArgs& other ) {
		if( this == &other ) return *this;

		m_mouse = other.GetMouseState();
		m_keyboard = other.GetKeyboardState();

		return *this;
	}
}
